// 头部
.swiper{
    width: 100%;
    height: 200px;
    background-color: #ccc;
    img{
        width: 100%;
    }
}
// 主体
.main{
    width: 100%;
    flex:1;
    display: flex;
    margin-top: 15px;
    padding-bottom: 80px;
    justify-content: space-evenly;
    flex-wrap: wrap;
    div{
        margin-bottom: 15px;
    }
    .box1{
        display: flex;
        width: 90%;
        .rank{
            flex:2;
            height: 140px;
            background-color: #1592cc;
            border-radius: 15px;
            margin-right: 10px;
            position: relative;
            
            img{
                margin-top: 20px;
                width: 100px;
                opacity: 0.5;
                position: relative;
                left:-6px;
            }
            p{
                color: rgba(0, 78, 115, 100);
                font-size: 16px;
                text-align: left;
                color: #004e73;
                font-weight: bold;
                position: absolute;
                top: 6px;
                left: 16px;
                z-index: 1;
            }
            span{
                position: absolute;
                right: 22px;
                top: 24px;
                display: inline-block;
                // width: 40px;
                height: 55px;
                font-size: 50px;
                font-weight: bold;
                color: #fff;
                z-index: 1;
            }
        }
        .clock{
            flex:3;
            height: 140px;
            background-color: #92c9e7;
            border-radius: 15px;
            position: relative;
            img{
                margin-top: 20px;
                width: 105px;
                opacity: 0.5;
                position: relative;
                left: 12px;
            }
            p{
                color: rgba(0, 78, 115, 100);
                font-size: 16px;
                text-align: left;
                color: #004e73;
                font-weight: bold;
                position: absolute;
                top: 6px;
                left: 16px;
                z-index: 1;
            }
            .clockBtn{
                display: inline-block;
                width: 90px;
                line-height: 36px;
                border:3px solid #004e73;
                text-align: center;
                border-radius: 18px;
                position: absolute;
                right: 22px;
                bottom: 24px;
                z-index: 1;
            }
        }
    }
    .box2{
        display: flex;
        width: 90%;
        .date{
            flex:1;
            height: 100px;
            border-radius: 15px;
            background: url('../../assets/imgs/index-card-data.png') no-repeat center top 0px /cover;
            position: relative;
            p{
                color: rgba(0, 78, 115, 100);
                font-size: 14px;
                text-align: left;
                color: #fff;
                font-weight: bold;
                position: absolute;
                top: 10px;
                left: 16px;
                z-index: 1;
            }
        }
        .badge{
            flex: 1;
            height: 100px;
            border-radius: 15px;
            background-color: rgb(141, 186, 236);
            position: relative;
            color: #004e73;
            margin-left: 10px;
            .badge-p{
                color: rgba(0, 78, 115, 100);
                font-size: 14px;
                text-align: left;
                font-weight: bold;
                position: absolute;
                top: 10px;
                left: 16px;
                z-index: 1;
            }
            img{
                margin-top: 10px;
                width: 90px;
                opacity: 0.5;
                position: relative;
                left: 10px;
            }
            .p{
                position: absolute;
                right: 22px;
                bottom: 0px;
                z-index: 1;
                span{
                    font-size: 85px;
                }
            }
        }
    }
    .course{
        width: 90%;
        height: 110px;
        border-radius: 15px;
        background: url('../../assets/imgs/index-swiper-bg2.jpg') no-repeat center top -24px /cover;
        p{
            color: white;
            margin-top: 10px;
            margin-left: 15px;
            font-weight: bold;

        }

    }
    .run{
        width: 90%;
        height: 110px;
        border-radius: 15px;
        background: url('../../assets/imgs/index-card-run.png') no-repeat center top -57px /cover;
        p{
            color: white;
            margin-top: 10px;
            margin-left: 15px;
            font-weight: bold;
        }

    }
}
// 尾部
.foot{
    width: 100%;
    height: 77px;
    position: fixed;
    bottom: 0px;
    display: flex;
    justify-content: space-around;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
    background-color: #fff;
    P{
        display: flex;
        flex-direction: column;
        text-align: center;
        color: #8a8a8a;
        span{
            font-size: 45px;
        }

    }
    .active{
        color: #4294ff;
    }
}
